Total Complexity | 19 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 138 |
Lines of code | 69 |
Logical lines of code | 28 |
Comment lines | 52 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
has_fields() | 77 | 2 | 3 | |
get_payment_method_type() | 78 | 2 | 3 | |
get_gateway_info() | 68 | 2 | 7 | |
validate_gateway_info() | 67 | 2 | 8 | |
enqueue_script() | 72 | 2 | 5 | |
add_form_fields() | 62 | 1 | 11 | |
__construct() | 75 | 1 | 4 | |
get_payment_method_id() | 82 | 1 | 3 | |
get_payment_method_code() | 82 | 1 | 3 | |
get_payment_method_title() | 82 | 1 | 3 | |
get_payment_method_description() | 68 | 1 | 8 | |
get_checkout_fields_ids() | 81 | 1 | 3 | |
get_payment_method_icon() | 82 | 1 | 3 | |
payment_fields() | 72 | 1 | 5 |